/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.quickorm.sample.entity;

import com.quickorm.stereotype.Column;
import com.quickorm.stereotype.Id;
import com.quickorm.stereotype.NotColumn;
import com.quickorm.stereotype.Table;

/**
 *
 * @author aaa
 */
@Table(name = "User")
public class User {

    @Id
    @Column(name = "UserId")
    private String userId;
    @Column(name = "RoleId")
    private String roleId;
    @Column(name = "Name")
    private String name;
    @Column(name = "LoginName")
    private String loginName;
    @Column(name = "Password")
    private String Password;
    @NotColumn
    private Role role;

    /**
     * @return the userId
     */
    public String getUserId() {
        return userId;
    }

    /**
     * @param userId the userId to set
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the loginName
     */
    public String getLoginName() {
        return loginName;
    }

    /**
     * @param loginName the loginName to set
     */
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return Password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.Password = password;
    }

    /**
     * @return the roleId
     */
    public String getRoleId() {
        return roleId;
    }

    /**
     * @param roleId the roleId to set
     */
    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    /**
     * @return the role
     */
    public Role getRole() {
        return role;
    }

    /**
     * @param role the role to set
     */
    public void setRole(Role role) {
        this.role = role;
    }
}
